package com.wyd.controller;


import com.wyd.api.LoginService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class loginController {

    @DubboReference
    public LoginService loginService;


    @RequestMapping("baseLogin")
    public String baseLogin(String username,String password){
        System.out.println("请求>>>username="+username+",password="+password);
        return loginService.baseLogin(username,password);
    }

}

